package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 设备管理对象 sys_device_info
 *
 * @author ruoyi
 * @date 2022-03-14
 */
public class SysDeviceInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Integer id;

    /** 标段名称 */
    @Excel(name = "标段名称")
    private String sectionName;

    /** 设备名称 */
    @Excel(name = "设备名称")
    private String deviceName;

    /** 设备数量 */
    @Excel(name = "设备数量")
    private Integer deviceNumber;
    /** 标段设备数量 */
    private Integer sectionDeviceNumber;
    /**  */
    private String status;

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId()
    {
        return id;
    }
    public void setSectionName(String sectionName)
    {
        this.sectionName = sectionName;
    }

    public String getSectionName()
    {
        return sectionName;
    }
    public void setDeviceName(String deviceName)
    {
        this.deviceName = deviceName;
    }

    public String getDeviceName()
    {
        return deviceName;
    }
    public void setDeviceNumber(Integer deviceNumber)
    {
        this.deviceNumber = deviceNumber;
    }

    public Integer getDeviceNumber()
    {
        return deviceNumber;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("sectionName", getSectionName())
            .append("deviceName", getDeviceName())
            .append("deviceNumber", getDeviceNumber())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .append("status", getStatus())
            .append("remark", getRemark())
            .toString();
    }

    public Integer getSectionDeviceNumber() {
        return sectionDeviceNumber;
    }

    public void setSectionDeviceNumber(Integer sectionDeviceNumber) {
        this.sectionDeviceNumber = sectionDeviceNumber;
    }
}
